Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives\WooPayments S

Total Complexity 36
Dependencies 4
Dependents 0
Total lines 348
Lines of code 161
Logical lines of code 70
Comment lines 134
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
get_incentives()
A
39 12 67
has_orders()
S
50 6 26
has_wcpay()
S
53 6 23
is_visible()
S
65 5 9
has_wcpay_account_data()
S
68 2 7
generate_context_hash()
S
61 1 13
__construct()
S
70 1 6
clear_cache()
S
77 1 4
reset_memo()
S
81 1 3
is_extension_active()
S
80 1 3